package com.markhsiu.tester;

import com.markhsiu.main.OSEnvir;

public class Constants {

	

	 
//  /Users/markhsiu/Documents/test/
	public final static String STORE_LINUX = System.getProperty("store.path", "/home/markhsiu/alibaba/test/");
	public final static String STORE_WINDOW = System.getProperty("store.path", "E:\\test\\mq\\");
	
    public static String STORE_PATH = STORE_WINDOW;
    
    static{
		 if(OSEnvir.isWindows()){
			 STORE_PATH  = STORE_WINDOW;
		 } else {
			 STORE_PATH= STORE_LINUX;
		 }
	    }
 
    public final static int PRO_NUM = Integer.valueOf(System.getProperty("pro.num", "10")); 
    public final static int CON_NUM = Integer.valueOf(System.getProperty("con.num", "10")); 
    public final static String PRO_PRE = System.getProperty("pro.pre","PRODUCER_");
    public final static int PRO_MAX = Integer.valueOf(System.getProperty("pro.max","4000000"));
    public final static String CON_PRE = System.getProperty("con.pre", "CONSUMER_");
    public final static String TOPIC_PRE = System.getProperty("topic.pre", "TOPIC_");
    public final static String QUEUE_PRE = System.getProperty("topic.pre", "QUEUE_");

   
}
